<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>TrabalhodeSistemasOperacionais: Código-Fonte de agenciadcc.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Gerado por Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">TrabalhodeSistemasOperacionais&#160;<span id="projectnumber">1.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;Principal</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Arquivos</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Lista&#160;de&#160;Arquivos</span></a></li>
      <li><a href="globals.html"><span>Arquivos&#160;Membros</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>agenciadcc.h</h1>  </div>
</div>
<div class="contents">
<a href="agenciadcc_8h.html">Vá para a documentação deste arquivo.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef AGDCC_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define AGDCC_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;QObject&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;QVector&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &quot;<a class="code" href="threadcaixa_8h.html">threadcaixa.h</a>&quot;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;QMutex&gt;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &quot;<a class="code" href="controladorderecursos_8h.html">controladorderecursos.h</a>&quot;</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &lt;QQueue&gt;</span>
<a name="l00010"></a>00010 <span class="preprocessor">#include &lt;QPair&gt;</span>
<a name="l00011"></a>00011 <span class="preprocessor">#include &quot;<a class="code" href="transacao_8h.html">transacao.h</a>&quot;</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &quot;<a class="code" href="threadfilatransacoes_8h.html">threadfilatransacoes.h</a>&quot;</span>
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 
<a name="l00017"></a><a class="code" href="classAgenciaDcc.html">00017</a> <span class="keyword">class </span><a class="code" href="classAgenciaDcc.html">AgenciaDcc</a> : <span class="keyword">public</span> QObject
<a name="l00018"></a>00018 {
<a name="l00019"></a>00019     Q_OBJECT
<a name="l00020"></a>00020 <span class="keyword">public</span>:
<a name="l00021"></a>00021     <span class="keyword">explicit</span> <a class="code" href="classAgenciaDcc.html#a5b5fdee53b0f8fc1f209c40dae844a65">AgenciaDcc</a>(QObject *parent = 0);
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 
<a name="l00027"></a><a class="code" href="classAgenciaDcc.html#ae2e7aa083cfd5fa2c6c27255e724e036">00027</a>     QVector&lt;ThreadCaixa*&gt; * <a class="code" href="classAgenciaDcc.html#ae2e7aa083cfd5fa2c6c27255e724e036">vetorThreadsCaixas</a>;
<a name="l00028"></a>00028     <span class="keywordtype">void</span> <a class="code" href="classAgenciaDcc.html#a371e9122429cbec0cb9f538bd192dd24">startThreads</a>();
<a name="l00029"></a>00029 
<a name="l00032"></a><a class="code" href="classAgenciaDcc.html#a55d036e0cf6604013855c54e04e836d2">00032</a>     <a class="code" href="classThreadFilaTransacoes.html">ThreadFilaTransacoes</a> * <a class="code" href="classAgenciaDcc.html#a55d036e0cf6604013855c54e04e836d2">threadDafila</a>;
<a name="l00033"></a>00033 
<a name="l00036"></a><a class="code" href="classAgenciaDcc.html#a437ac42f8090f99d36047654713c5b7d">00036</a>     QQueue&lt;Transacao&gt; * <a class="code" href="classAgenciaDcc.html#a437ac42f8090f99d36047654713c5b7d">fila</a>;
<a name="l00037"></a>00037 
<a name="l00040"></a><a class="code" href="classAgenciaDcc.html#a375f987153b95fc1fc46e92af6a7f553">00040</a>     QQueue&lt;Transacao&gt; * <a class="code" href="classAgenciaDcc.html#a375f987153b95fc1fc46e92af6a7f553">filaPrioritaria</a>;
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 
<a name="l00045"></a><a class="code" href="classAgenciaDcc.html#a2bbcc6bad08428a9603f5c35446e6dbf">00045</a>       <a class="code" href="classControladorDeRecursos.html">ControladorDeRecursos</a> * <a class="code" href="classAgenciaDcc.html#a2bbcc6bad08428a9603f5c35446e6dbf">controladorDeRecursos</a>;
<a name="l00046"></a>00046 
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 signals:
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 <span class="keyword">public</span> slots:
<a name="l00052"></a>00052 
<a name="l00053"></a>00053 };
<a name="l00054"></a>00054 
<a name="l00055"></a>00055 <span class="preprocessor">#endif // AGDCC_H</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Gerado em Terça, 6 de Dezembro de 2011 01:44:55 para TrabalhodeSistemasOperacionais por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
